#ifndef		Sound__SoundSystem_h
#define		Sound__SoundSystem_h

#include	<Configuration/Config.h>
#include	<fmod.hpp>
#include	<string>

class SoundSystem
{
public:
	SoundSystem(Config & config);
	~SoundSystem();
	void Cleanup();
	void Update();
	FMOD::Sound * CreateSound(const std::string & filename, bool loop = false);
	FMOD::Channel * PlaySound(FMOD::Sound * sound, float volume, bool paused = false);
private:
	Config * m_config;
	FMOD::System * m_system;
};

#endif	//	Sound__SoundSystem_h

